package com.szholly.plug.safe.entity.role;

import com.szholly.data.general.*;

/**
 * 角色与数据权限实体类
 * 
 * @author CHENXU
 * 
 */
public class RoleFunctionEntity extends RowBase {

	private static final long serialVersionUID = -8513957445922017401L;

	/**
	 * 角色ID
	 */
	public final static String FIELD_ROLEID = "S_ROLEID";

	/**
	 * 功能ID
	 */
	public final static String FIELD_FUNCTIONID = "S_FUNCTIONID";

	/**
	 * 获取角色ID
	 * 
	 * @return
	 */
	public String getRoleID() {
		return (String)getValue(GlobalDataType.String, FIELD_ROLEID);
	}

	/**
	 * 设置角色ID
	 * 
	 * @param value
	 */
	public void setRoleID(String value) {
		setValue(FIELD_ROLEID, value);
	}

	/**
	 * 获取功能ID
	 * 
	 * @return
	 */
	public String getFunctionID() {
		return (String)getValue(GlobalDataType.String, FIELD_FUNCTIONID);
	}

	/**
	 * 设置功能ID
	 * 
	 * @param value
	 */
	public void setFunctionID(String value) {
		setValue(FIELD_FUNCTIONID, value);
	}
}
